// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'vant/lib/button/style';
import 'vant/lib/index.css';
Vue.config.productionTip = false
import '@/pages/myVant/vantUI'
import Vuex from 'vuex'
// import '@/assets/lib/dist/css/mui.css'
import VueAMap from 'vue-amap'; // 高德
import 'amfe-flexible/index.js'//移动端适配
// 插件
// store
// import Axios from 'axios'
import store from '@/store';
// 配置
import Setting from './setting';
import request from '@/utils/request'
Vue.use(VueAMap);
Vue.use(Vuex)
// Vue.use(request)
// 设置axios
// Vue.prototype.$axios = Axios
// Axios.defaults.baseURL = ''
// Axios.defaults.headers.post['Content-Type'] = 'application/json'

VueAMap.initAMapApiLoader({
  key: 'ed863c1b5d69c3782397336031be2039',
  plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar',
    'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor',
    'AMap.Geolocation'],
  v: '1.4.4'
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
